package com.huatai.range.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName CreateTabEntity
 * @Description TODO
 * @Author @luoxc
 * @Date 2023/4/17 15:21
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateTabRequest {

	@ApiModelProperty(value = "表名", required = true)
	@NotBlank(message = "表名不能为空！")
	private String tabName;

	@ApiModelProperty(value = "表类型（range(面)、path(线)、poi(点)）", required = true)
	@NotBlank(message = "表类型不能为空！")
	private String tabType;

	@ApiModelProperty(value = "试验id", required = true)
	@NotBlank(message = "试验id不能为空！")
	private String trialId;

	@ApiModelProperty(value = "试验名称", required = true)
	@NotBlank(message = "试验名称不能为空！")
	private String trialName;

	@ApiModelProperty(value = "表别名", required = true)
	@NotBlank(message = "表别名不能为空！")
	private String alias;

}
